/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

var ads_client = ads_pipeline = ads_eo = null;

window.addEvent('domready', function() {  
    //global event observer
    ads_eo = new EventObserver();
    //start client
    ads_client = new ADS_Client({'url' : serverURL, 'clientKey' : clientKey}).run();
    //content pipeline (translates any content to JSON)
    ads_pipeline = new ContentPipeline({
        url : serverURL        
    });    
});